package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.MonitorEntity;

/**
 * Created by xu_jiaHui on 2017/8/8.
 */
public class MonitorDto {
    private Integer monitorId;
    private String projectNumber;
    private String monitorLongitude;
    private String monitorLatitude;
    private String monitorProvince;
    private String monitorCity;
    private String monitorArea;
    private String monitorRoadName;
    private String monitorStartRoad;
    private String monitorEndRoad;
    private Integer monitorDirection;
    private Integer monitorPoleShape;
    private String monitorPoleSize;
    private String monitorBrand;
    private Integer monitorPosition;
    private String monitorSize;
    private String monitorInstallTime;
    private String monitorInstallOrg;
    private String monitorPhoto;
    private Integer monitorPeriod;
    private Integer monitorServiceLife;
    private String monitorRemark;
    private Integer monitorCreatorId;
    private Integer monitorModifierId;
    private Integer monitorOrgId;
    private Integer monitorMainOrgId;
    private Integer monitorIsComplete;
    private Integer monitorRegionId;
    private String monitorADeviceId;
    private Integer alarmCount;
    private String alarmDeviceId;


    private String monitorCreatorName; //采集人姓名
    private String monitorMainOrgName; //主管单位
    private String monitorOrgName;     //养护单位
    private String longitude;          //经度
    private String latitude;           //纬度
    private Integer deviceState;        //报警器状态

    public Integer getDeviceState() {
        return deviceState;
    }

    public void setDeviceState(Integer deviceState) {
        this.deviceState = deviceState;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public Integer getMonitorId() {
        return monitorId;
    }

    public void setMonitorId(Integer monitorId) {
        this.monitorId = monitorId;
    }

    public String getProjectNumber() {
        return projectNumber;
    }

    public void setProjectNumber(String projectNumber) {
        this.projectNumber = projectNumber;
    }

    public String getMonitorLongitude() {
        return monitorLongitude;
    }

    public void setMonitorLongitude(String monitorLongitude) {
        this.monitorLongitude = monitorLongitude;
    }

    public String getMonitorLatitude() {
        return monitorLatitude;
    }

    public void setMonitorLatitude(String monitorLatitude) {
        this.monitorLatitude = monitorLatitude;
    }

    public String getMonitorProvince() {
        return monitorProvince;
    }

    public void setMonitorProvince(String monitorProvince) {
        this.monitorProvince = monitorProvince;
    }

    public String getMonitorCity() {
        return monitorCity;
    }

    public void setMonitorCity(String monitorCity) {
        this.monitorCity = monitorCity;
    }

    public String getMonitorArea() {
        return monitorArea;
    }

    public void setMonitorArea(String monitorArea) {
        this.monitorArea = monitorArea;
    }

    public String getMonitorRoadName() {
        return monitorRoadName;
    }

    public void setMonitorRoadName(String monitorRoadName) {
        this.monitorRoadName = monitorRoadName;
    }

    public String getMonitorStartRoad() {
        return monitorStartRoad;
    }

    public void setMonitorStartRoad(String monitorStartRoad) {
        this.monitorStartRoad = monitorStartRoad;
    }

    public String getMonitorEndRoad() {
        return monitorEndRoad;
    }

    public void setMonitorEndRoad(String monitorEndRoad) {
        this.monitorEndRoad = monitorEndRoad;
    }

    public Integer getMonitorDirection() {
        return monitorDirection;
    }

    public void setMonitorDirection(Integer monitorDirection) {
        this.monitorDirection = monitorDirection;
    }

    public Integer getMonitorPoleShape() {
        return monitorPoleShape;
    }

    public void setMonitorPoleShape(Integer monitorPoleShape) {
        this.monitorPoleShape = monitorPoleShape;
    }

    public String getMonitorPoleSize() {
        return monitorPoleSize;
    }

    public void setMonitorPoleSize(String monitorPoleSize) {
        this.monitorPoleSize = monitorPoleSize;
    }

    public String getMonitorBrand() {
        return monitorBrand;
    }

    public void setMonitorBrand(String monitorBrand) {
        this.monitorBrand = monitorBrand;
    }

    public Integer getMonitorPosition() {
        return monitorPosition;
    }

    public void setMonitorPosition(Integer monitorPosition) {
        this.monitorPosition = monitorPosition;
    }

    public String getMonitorSize() {
        return monitorSize;
    }

    public void setMonitorSize(String monitorSize) {
        this.monitorSize = monitorSize;
    }

    public String getMonitorInstallTime() {
        return monitorInstallTime;
    }

    public void setMonitorInstallTime(String monitorInstallTime) {
        this.monitorInstallTime = monitorInstallTime;
    }

    public String getMonitorInstallOrg() {
        return monitorInstallOrg;
    }

    public void setMonitorInstallOrg(String monitorInstallOrg) {
        this.monitorInstallOrg = monitorInstallOrg;
    }

    public String getMonitorPhoto() {
        return monitorPhoto;
    }

    public void setMonitorPhoto(String monitorPhoto) {
        this.monitorPhoto = monitorPhoto;
    }

    public Integer getMonitorPeriod() {
        return monitorPeriod;
    }

    public void setMonitorPeriod(Integer monitorPeriod) {
        this.monitorPeriod = monitorPeriod;
    }

    public Integer getMonitorServiceLife() {
        return monitorServiceLife;
    }

    public void setMonitorServiceLife(Integer monitorServiceLife) {
        this.monitorServiceLife = monitorServiceLife;
    }

    public String getMonitorRemark() {
        return monitorRemark;
    }

    public void setMonitorRemark(String monitorRemark) {
        this.monitorRemark = monitorRemark;
    }

    public Integer getMonitorCreatorId() {
        return monitorCreatorId;
    }

    public void setMonitorCreatorId(Integer monitorCreatorId) {
        this.monitorCreatorId = monitorCreatorId;
    }

    public Integer getMonitorModifierId() {
        return monitorModifierId;
    }

    public void setMonitorModifierId(Integer monitorModifierId) {
        this.monitorModifierId = monitorModifierId;
    }

    public Integer getMonitorOrgId() {
        return monitorOrgId;
    }

    public void setMonitorOrgId(Integer monitorOrgId) {
        this.monitorOrgId = monitorOrgId;
    }

    public Integer getMonitorMainOrgId() {
        return monitorMainOrgId;
    }

    public void setMonitorMainOrgId(Integer monitorMainOrgId) {
        this.monitorMainOrgId = monitorMainOrgId;
    }

    public Integer getMonitorIsComplete() {
        return monitorIsComplete;
    }

    public void setMonitorIsComplete(Integer monitorIsComplete) {
        this.monitorIsComplete = monitorIsComplete;
    }

    public String getMonitorCreatorName() {
        return monitorCreatorName;
    }

    public void setMonitorCreatorName(String monitorCreatorName) {
        this.monitorCreatorName = monitorCreatorName;
    }

    public String getMonitorMainOrgName() {
        return monitorMainOrgName;
    }

    public void setMonitorMainOrgName(String monitorMainOrgName) {
        this.monitorMainOrgName = monitorMainOrgName;
    }

    public String getMonitorOrgName() {
        return monitorOrgName;
    }

    public void setMonitorOrgName(String monitorOrgName) {
        this.monitorOrgName = monitorOrgName;
    }

    public Integer getMonitorRegionId() {
        return monitorRegionId;
    }

    public void setMonitorRegionId(Integer monitorRegionId) {
        this.monitorRegionId = monitorRegionId;
    }

    public String getMonitorADeviceId() {
        return monitorADeviceId;
    }

    public void setMonitorADeviceId(String monitorADeviceId) {
        this.monitorADeviceId = monitorADeviceId;
    }

    public Integer getAlarmCount() {
        return alarmCount;
    }

    public void setAlarmCount(Integer alarmCount) {
        this.alarmCount = alarmCount;
    }

    public String getAlarmDeviceId() {
        return alarmDeviceId;
    }

    public void setAlarmDeviceId(String alarmDeviceId) {
        this.alarmDeviceId = alarmDeviceId;
    }

    public MonitorEntity toBean() {
        MonitorEntity monitorEntity = new MonitorEntity();
        monitorEntity.setProjectNumber(projectNumber);
        monitorEntity.setMonitorRegionId(monitorRegionId);
        monitorEntity.setMonitorLongitude(monitorLongitude);
        monitorEntity.setMonitorLatitude(monitorLatitude);
        monitorEntity.setMonitorProvince(monitorProvince);
        monitorEntity.setMonitorCity(monitorCity);
        monitorEntity.setMonitorArea(monitorArea);
        monitorEntity.setMonitorRoadName(monitorRoadName);
        monitorEntity.setMonitorStartRoad(monitorStartRoad);
        monitorEntity.setMonitorEndRoad(monitorEndRoad);
        monitorEntity.setMonitorPosition(monitorPosition);
        monitorEntity.setMonitorPoleSize(monitorPoleSize);
        monitorEntity.setMonitorSize(monitorSize);
        monitorEntity.setMonitorDirection(monitorDirection);
        monitorEntity.setMonitorPoleShape(monitorPoleShape);
        monitorEntity.setMonitorBrand(monitorBrand);
        monitorEntity.setMonitorPhoto(monitorPhoto);
        monitorEntity.setMonitorInstallTime(monitorInstallTime);
        monitorEntity.setMonitorInstallOrg(monitorInstallOrg);
        monitorEntity.setMonitorPeriod(monitorPeriod);
        monitorEntity.setMonitorServiceLife(monitorServiceLife);
        monitorEntity.setMonitorRemark(monitorRemark);
        monitorEntity.setMonitorCreatorId(monitorCreatorId);
        monitorEntity.setMonitorModifierId(monitorModifierId);
        monitorEntity.setMonitorOrgId(monitorOrgId);
        monitorEntity.setMonitorMainOrgId(monitorMainOrgId);
        monitorEntity.setMonitorIsComplete(0);
        monitorEntity.setMonitorADeviceId(monitorADeviceId);
        monitorEntity.setAlarmCount(alarmCount);
        monitorEntity.setAlarmDeviceId(alarmDeviceId);
        return monitorEntity;
    }
}
